//
//  MessageModel.h
//  gushihui
//
//  Created by 甘世清 on 2024/1/25.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MessageModel : NSObject
//cell 的类型 (本地)
@property (nonatomic, assign) BOOL  sendType;
@property (nonatomic , strong) NSString * portrait;
@property (nonatomic, strong) NSString * name;
@property (nonatomic, strong) NSString * content;
@property (nonatomic, strong) NSString * createTime;
@property (nonatomic, assign) BOOL  isCollect;
@property (nonatomic, assign) CGSize cellSize;
@property (nonatomic, assign) NSInteger  typewriterType; //0 ,1,2
//cell当前状态 1 发送消息中/接收消息中  2 发送成功/接受成功 3发送失败/接受失败 4展示打字机效果
@property (nonatomic , assign) NSInteger type;
@property (nonatomic , strong) NSString * url;
@property (nonatomic , strong) NSString *  userid;
+(CGSize)SQ_GetSize:(UILabel*)label;
@end

NS_ASSUME_NONNULL_END
